From: Florian Müllner Date: Wed, 23 Sep 2015 12:16:31 +0000 (+0200) Subject: popupMenu: Set ImageMenuItem's label-actor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1204 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3bbe74d1c1086d1beb97cfc8c9198bb654cd20e6;p=gnome-shell.git popupMenu: Set ImageMenuItem's label-actor While we don't use image menu items ourselves, extensions might, so make sure they are accessible out of the box. Spotted by Jay Strict. --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index c10be71f7..05f82b8ef 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -396,6 +396,7 @@ const PopupImageMenuItem = new Lang.Class({ this.actor.add_child(this.label); this._icon = new St.Icon({ style_class: 'popup-menu-icon' }); this.actor.add_child(this._icon, { align: St.Align.END }); + this.actor.label_actor = this.label; this.setIcon(iconName); },